/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chess;

import javax.swing.ImageIcon;
import javax.swing.JButton;

/**
 *
 * @author Alejandro
 */
public class Token {
    
    
    private int row, column, color;
    private String type;
    private boolean correctMove;
    public JButton [][] board;
    public Token [][] tokens;
    public boolean enemy;
    private boolean pass;
    private ImageIcon[] icon;
            
    public boolean getCorrectMove() {
        return correctMove;
    }
    
    public ImageIcon[] getIcon() {
        return icon;
    }
    
    public boolean getPass() {
        return pass;
    }

    public void setCorrectMove(boolean correctMove) {
        this.correctMove = correctMove;
    }
    
    public void setIcon(ImageIcon[] icon) {
        this.icon = icon;
    }
    
    public void setPass(boolean pass) {
        this.pass = pass;
    }
    
    public void setType(String type) {
        this.type = type;
    }
   
    
    //cambiar para cada ficha
    public void moveToken(int newColumn, int newRow){
        row = newRow;
        column = newColumn;
    }

    public void setColor(int color) {
        this.color = color;
    }
    
    public int getColor() {
        return color;
    }
    
    public int getColumn() {
        return column;
    }
    
    public String getType() {
        return type;
    }

    public void setColumn(int column) {
        this.column = column;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }
}
